//
//  XS_OrderItemModel.swift
//  XueDao
//
//  Created by Mac on 2020/12/21.
//

import UIKit

class XS_OrderItemModel: XS_BaseModel {
//    "pageNo": 1,
//                        "pageSize": 10,
//                        "id": 7,
//                        "userId": 2,
//                        "orderNo": "20201211133839276981",
//                        "orderType": "pay",
//                        "orderTime": "2020-12-11T05:38:39.000+00:00",
//                        "state": "notpay",
//                        "curriculumForm": "online",
//                        "orderNoBt": null,
//                        "isBuyTogether": "noTogether",
//                        "isFirst": null,
//                        "stateBt": null,
//                        "finishTime": null,
//                        "payType": "alipay",
//                        "couponMoney": null,
//                        "couponId": null,
//                        "score": null,
//                        "payMoney": 497,
//                        "sourceOrderNo": null,
//                        "organization": null,
//                        "balanceMoney": null,
//                        "balanceStatus": null,
//                        "balanceNo": null,
//                        "updateTime": null,
//                        "updateUserId": null,
//                        "curriculumId": 3,
//                        "curriculumName": "测试wy1"
    
    var pageNo = ""
    var pageSize = ""
    var id = ""
    var userId = ""
    var orderNo = ""
    var orderType = ""
    var orderTime = ""
    var state = ""
    var curriculumForm = ""
    var orderNoBt = ""
    var isBuyTogether = ""
    var isFirst = ""
    var stateBt = ""
    var finishTime = ""
    var payType = ""
    var couponMoney = "0"
    var couponId = ""
    var score = "0"
    var payMoney = ""
    var sourceOrderNo = ""
    var organization = ""
    var balanceMoney = ""
    var balanceStatus = ""
    var balanceNo = ""
    var updateTime = ""
    var updateUserId = ""
    var curriculumId = ""
    var curriculumName = ""
    var curriculumDesc = ""
    var curriculumImgUrl = ""
    var purchaseNumber = ""
}

class XS_OrderItemM: XS_BaseModel {
    var records: [XS_OrderItemModel] = []
    var total = 0
    var size = 10 // 默认页数
    var current = 0
    var searchCount = false
    var pages = 0
}

